﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StudyActivityEdit.aspx.cs" Inherits="ZHDJ.BranchCenter.Module.MassLine.StudyActivityEdit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:Panel ID="Panel1" ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server" Layout="Table" BoxConfigAlign="Stretch">
            <Items>
                <f:SimpleForm ID="SimpleForm1" ShowBorder="false" ShowHeader="false" runat="server" BodyPadding="10px" Title="SimpleForm">
                    <Items>
                        <f:HiddenField ID="hdPhotoWallID" runat="server"></f:HiddenField>
                        <f:TextBox ID="txtTitle" Label="标题" runat="server" LabelAlign="Right" LabelWidth="70px" Required="true" ShowRedStar="true"></f:TextBox>
                        <f:DropDownList ID="ddlStudyType" runat="server" Label="学习方式" LabelWidth="70px" LabelAlign="Right">
                            <f:ListItem Text="==请选择==" Value="0" Selected="true" />
                            <f:ListItem Text="集中讨论式学习" Value="1" />
                            <f:ListItem Text="调研式学习" Value="2" />
                            <f:ListItem Text="小型分散式学习" Value="3" />
                            <f:ListItem Text="体验式学习" Value="4" />
                        </f:DropDownList>
                        <f:TriggerBoxPicker runat="server" ID="ppJoinMember" Label="参与人员" LabelWidth="70px" LabelAlign="Right"
                            WindinsTitle="选择参与人员" WindinsHeight="450px" WindinsWidth="700px" ShowTrigger1="false" ShowEmptyLabel="true" EnableEdit="false"
                            EmptyText="请选择参与人员" WindinsUrl="../../../Share/Picker/MemberMultiplePicker.aspx" Trigger1Icon="Clear" Required="true" ShowRedStar="true">
                        </f:TriggerBoxPicker>
                        <f:TriggerBoxPicker runat="server" ID="ppSpeakMember" Label="发言对象" LabelWidth="70px" LabelAlign="Right"
                            WindinsTitle="发言对象" WindinsHeight="450px" WindinsWidth="700px" ShowTrigger1="false" ShowEmptyLabel="true" EnableEdit="false"
                            EmptyText="发言对象" WindinsUrl="../../../Share/Picker/MemberMultiplePicker.aspx" Trigger1Icon="Clear" Required="true" ShowRedStar="true">
                        </f:TriggerBoxPicker>
                        <f:FileUpload runat="server" ID="fileImage" EmptyText="请选择一份附件" Label="附件" LabelAlign="Right" LabelWidth="70px" AcceptFileTypes="image/*" AutoPostBack="true" OnFileSelected="fileImage_FileSelected"></f:FileUpload>
                        <f:Grid ID="Grid1" runat="server" BoxFlex="1" ShowBorder="true" ShowHeader="false"
                            EnableCheckBoxSelect="true" DataKeyNames="ID" AllowSorting="true" AutoScroll="true" Height="160px"
                            SortField="FileID" SortDirection="DESC" AllowPaging="true" ShowPagingMessage="false"
                            IsDatabasePaging="true" OnRowCommand="Grid1_RowCommand" Width="650">
                            <Columns>
                                <f:BoundField DataField="Title" ExpandUnusedSpace="true" HeaderText="图片库" />
                                <f:TemplateField HeaderText="描述" Width="300px">
                                    <ItemTemplate>
                                        <asp:TextBox ID="txtDesc" runat="server" Width="390px" Text='<%# Eval("Describe") %>'></asp:TextBox>
                                    </ItemTemplate>
                                </f:TemplateField>
                                <f:LinkButtonField ColumnID="deleteField" TextAlign="Center" HeaderText="操作" Icon="Delete" ToolTip="删除" ConfirmText="确定删除此记录？"
                                    ConfirmTarget="Top" CommandName="Delete" Width="50px" />
                            </Columns>
                        </f:Grid>
                    </Items>
                </f:SimpleForm>
            </Items>
            <Toolbars>
                <f:Toolbar ID="Toolbar1" runat="server" Position="Bottom" ToolbarAlign="Center">
                    <Items>
                        <f:Button ID="btnSaveClose" ValidateForms="SimpleForm1" Icon="SystemSaveClose" OnClick="btnSaveClose_Click" runat="server" Text="保存并关闭"></f:Button>
                        <f:Button ID="btnPublish" ValidateForms="SimpleForm1" Icon="Transmit"
                            OnClick="btnPublish_Click" runat="server" Text="发布">
                        </f:Button>
                        <f:Button ID="btnUndo" runat="server" ValidateForms="SimpleForm1" Icon="ArrowUndo" OnClick="btnUndo_Click" Text="撤回" Hidden="true"></f:Button>
                        <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server"></f:ToolbarSeparator>
                        <f:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server" Text="关闭" DisableControlBeforePostBack="True"></f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>
        </f:Panel>
    </form>
</body>
</html>
